using System.Linq;
using UnityEngine;

/// <summary>
/// 游戏
/// </summary>
[CreateAssetMenu()]
public class GameData : ScriptableObject
{
    /// <summary>
    /// 所有地图
    /// </summary>
    public MapData[] mapData = new MapData[7];
    /// <summary>
    /// 当前地图ID，从0开始
    /// </summary>
    public int currentMapID;
    /// <summary>
    /// 当前关卡ID，从0开始
    /// </summary>
    public int currentLevelID;
    /// <summary>
    /// 从游戏跳转至关卡列表时此值为true
    /// </summary>
    public bool fromGame = false;
}